import { createRouter, createWebHashHistory } from 'vue-router'
import Three from '../components/three/index.vue'
import Cesium from '../components/cesium/index.vue'
import Basic from '../components/cesium/basic.vue'
import Bubble from '../components/demo/index.vue'

const routes = [
    {
        name: 'three',
        path: '/three',
        component: Three
    },
    {
        name: 'cesium',
        path: '/cesium',
        component: Cesium
    },
    {
        name: 'bubble',
        path: '/bubble',
        component: Bubble
    },
    {
        name: 'basic',
        path: '/basic',
        component: Basic
    }

]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router